from sqlalchemy import Column, Integer, String
from sqlalchemy.orm import declarative_base

Base = declarative_base()

class Novelsinfomodel(Base):
    __tablename__ = 'novelsinfo'

    id = Column(Integer, primary_key=True)
    title = Column(String(255), nullable=False)
    url = Column(String(255), unique=True, nullable=False)
    type = Column(String(50))